import http from "./http";
// 用于管理整个项目的所有接口
// 验证码接口
export const messageApi = (tel) =>
    http.post("/register/getCode", { phone: tel + "", templateId: "537707" });
// 登录验证接口
export const resetApi = (data) =>
    http.post("/register", { phone: data.phone, code: data.code });
// 获取个人信息接口
export const userInfoApi = (token) => http.post("/userinfo/get", { token: token });